﻿using MDPM.EntitiyModels.ProjectManage.PurchaseGroupRelevant;
using MDPM.Foundation.SpecificationsForEntityModel;
using System;
using System.Collections.Generic;
using System.Text;

namespace MDPM.EntitiyModels.ProjectManage.ProjectRelevant
{
    /// <summary>
    /// 项目任务
    /// </summary>
    public class ProjectTask:Entity
    {
        /// <summary>
        /// 项目任务状态
        /// </summary>
        public ProjectTaskTypeEnum ProjectTaskTypeEnum { get; set; }
        public string Description { get; set; }                //任务内容简介
        public DateTime StartDate { get; set; }                //开始时间
        public DateTime EndDate { get; set; }                  //结束时间
        public virtual PurchaseGroupMember User { get; set; }  //任务负责人
        public virtual ProjectWork Work { get; set; }          //归属的工作

        public ProjectTask()
        {
            this.Id = Guid.NewGuid();
        }
    }
}
